package Text;

import java.util.Scanner;

public class MaoPao {
    public static void main(String[] args) {
        Scanner sc = new Scanner (System.in);
        int[]a = new int[10];
        int k;

        for (int i = 0; i <10 ; i++) {
            a[i] = sc.nextInt ();
        }

        for (int i=0;i<9;i++)
            for (int j=0;j<9-i;j++){
                if (a[j]>a[j+1]){
                    k=a[j];
                    a[j]=a[j+1];
                    a[j+1]=k;
                }
            }
        for (int i = 0; i <10 ; i++) {
            System.out.println (a[i]);
        }
    }
}
